You are here: Scripting commands > Device List

Device List

Command DEVICE LIST
Description Displays the block devices available on a machine
Syntax DEVICE LIST <filter> [ON <machine>]
Options
  • filter—Use one of the following options for the device filter
  • ALL—Lists all unique devices on the specified machine. If there is no machine specified, the source, if designated, will be tried first. The target, if designated, will be tried second.
  • OKSOURCE—List all devices on the specified source that are replication capable. If a target is specified, an error will be returned.
  • OKTARGET—List all devices on the specified target that are capable of being used as a target path. If a source is specified, an error will be returned.
  • machine—Name of the machine
Examples

device list all on alpha

Notes Machine names that contain non-alphanumeric characters must be enclosed in quotation marks.